package com.park.web.dao;

import com.park.web.core.mybatis.MyMapper;
import com.park.web.model.domain.basSystemResource;
import com.park.web.model.dto.basSystemResourceDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface basSystemResourceMapper extends MyMapper<basSystemResource> {

    List<basSystemResource> SelectMenuByUserID(String UserID);

    List<basSystemResource> SelectMenuByAdmin();

    List<basSystemResource> selectByParentCode(String ParentCode);

    List<basSystemResource> queryResourceTree();

    List<basSystemResource> queryModuleResources(basSystemResourceDto entity);

    List<basSystemResource> queryResourcesList(basSystemResourceDto entity);
}